home *** CD-ROM | disk | FTP | other *** search
/ InterCD 2000 February / february_2000.iso / site building / GoLive 4.0 Tryout / data1.cab / Apps / Modules / JScripts / Actions / Image / Set Image URL.action < prev    next >
Encoding:
Text File  |  1999-08-05  |  4.5 KB  |  101 lines

  1. <html>
  2.  
  3.     <head>
  4.         <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
  5.         <meta name="generator" content="Adobe GoLive 4">
  6.         <title>SetImageURL Action</title>
  7.     </head>
  8.  
  9.     <body bgcolor="white">
  10.         <center>
  11.             <font size="6">SetImageURL Action</font><font>
  12.             <hr>
  13.             </font></center>
  14.         <p>
  15.         <csactionclass name="Set Image URL" function="CSSetImageURL" nsversion="3" ieversion="4"> </p>
  16.         <p>
  17.         <csactionparam name="image" type="GLActionImageParam"> </p>
  18.         <p>
  19.         <csactionparam name="link" type="GLActionURLParam"> </p>
  20.         <p></csactionclass>
  21.          </p>
  22.         <p> </p>
  23.         <p>IE Stuff
  24.         <script language="JavaScript1.2" src="../../GlobalScripts/IE.scpt" cyberversion="N1.2"></script>
  25.         </p>
  26.         <p>Set Image URL
  27.         <script language="JavaScript1.2" cyberversion="N1.2"><!--
  28. function CSSetImageURL(action) {
  29.     var img = null;
  30.     if (document.images) {
  31.         if (!IsIE()) img = CSFindElement(action[1],0);
  32.         else img = document.images[action[1]];
  33.         if (img) img.src = action[2];
  34.     }
  35. }
  36. // -->
  37.         </script>
  38.          </p>
  39.         <p> </p>
  40.         <p>
  41.         <table cool width="253" height="153" border="0" cellpadding="0" cellspacing="0" gridx="16" showgridx gridy="16" showgridy bgcolor="#eeeeee">
  42.             <tr height="1" cntrlrow>
  43.                 <td width="1" height="1"><spacer type="block" width="1" height="1"></td>
  44.                 <td width="10" height="1"><spacer type="block" width="10" height="1"></td>
  45.                 <td width="40" height="1"><spacer type="block" width="40" height="1"></td>
  46.                 <td width="1" height="1"><spacer type="block" width="1" height="1"></td>
  47.                 <td width="199" height="1"><spacer type="block" width="199" height="1"></td>
  48.             </tr>
  49.             <tr height="2">
  50.                 <td width="1" height="2"><spacer type="block" width="1" height="2"></td>
  51.                 <td width="10" height="2"><spacer type="block" width="10" height="2"></td>
  52.                 <td width="40" height="2"><spacer type="block" width="40" height="2"></td>
  53.                 <td width="1" height="2"><spacer type="block" width="1" height="2"></td>
  54.                 <td width="199" height="2"><spacer type="block" width="199" height="2"></td>
  55.             </tr>
  56.             <tr height="3">
  57.                 <td width="1" height="3"><spacer type="block" width="1" height="3"></td>
  58.                 <td width="10" height="3"><spacer type="block" width="10" height="3"></td>
  59.                 <td width="40" height="3"><spacer type="block" width="40" height="3"></td>
  60.                 <td width="1" height="3"><spacer type="block" width="1" height="3"></td>
  61.                 <td width="199" height="24" colspan="1" rowspan="2" valign="top" align="left" xpos="51">
  62.                     <csactioncntrl name="image" x="51" y="2" width="191" height="18" alignx="scale" aligny="top">
  63.                 </td>
  64.             </tr>
  65.             <tr height="21">
  66.                 <td width="1" height="21"><spacer type="block" width="1" height="21"></td>
  67.                 <td width="10" height="21"><spacer type="block" width="10" height="21"></td>
  68.                 <td width="40" height="21" colspan="1" rowspan="1" valign="top" align="left" xpos="10">
  69.                     <csactioncntrl type="StaticText" value="Image" x="10" y="5" width="39" height="16" alignx="left" aligny="top">
  70.                 </td>
  71.                 <td width="1" height="21"><spacer type="block" width="1" height="21"></td>
  72.             </tr>
  73.             <tr height="4">
  74.                 <td width="1" height="4"><spacer type="block" width="1" height="4"></td>
  75.                 <td width="10" height="4"><spacer type="block" width="10" height="4"></td>
  76.                 <td width="40" height="4"><spacer type="block" width="40" height="4"></td>
  77.                 <td width="200" height="52" colspan="2" rowspan="2" valign="top" align="left" xpos="50">
  78.                     <csactioncntrl name="link" x="50" y="26" width="193" height="44" alignx="scale" aligny="top">
  79.                 </td>
  80.             </tr>
  81.             <tr height="48">
  82.                 <td width="1" height="48"><spacer type="block" width="1" height="48"></td>
  83.                 <td width="10" height="48"><spacer type="block" width="10" height="48"></td>
  84.                 <td width="40" height="48" colspan="1" rowspan="1" valign="top" align="left" xpos="10">
  85.                     <csactioncntrl type="StaticText" value="Link" x="10" y="30" width="35" height="16" alignx="left" aligny="top">
  86.                 </td>
  87.             </tr>
  88.             <tr height="72">
  89.                 <td width="1" height="72"><spacer type="block" width="1" height="72"></td>
  90.                 <td width="10" height="72"><spacer type="block" width="10" height="72"></td>
  91.                 <td width="240" height="72" colspan="3" rowspan="1" valign="top" align="left" xpos="10">
  92.                     <csactioncntrl type="InfoText" value="Images without names can not be a target for this action." x="10" y="78" width="231" height="29" alignx="scale" aligny="top">
  93.                 </td>
  94.             </tr>
  95.         </table>
  96.         </p>
  97.         <p> 
  98.     </body>
  99.  
  100. </html>
  101.